package com.zretc.gateway.propertires;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;
//白名单配置  绑定到nacos的配置文件中 设置为即时更新
@Component
@ConfigurationProperties(prefix = "ignore")
@Data
@RefreshScope
public class IgnoreWhileListProperties {
    private List<String> whites;
}
